package com.wicket.okrbff.biz.service.dto.common;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;

/**
 * @desc BffBizSceneDto
 * @使用场景
 */
@Data
public class BffBizSceneDto implements Serializable {

    /**
     * 业务场景ID:
     */
    @ApiModelProperty("业务场景ID")
    private String bizSceneId;

    /**
     * 业务场景标识:
     */
    @ApiModelProperty("业务场景标识")
    private String bizSceneCode;

    /**
     * 业务场景名称:
     */
    @ApiModelProperty("业务场景名称")
    private String bizSceneName;

    /**
     * 业务应用ID:
     */
    @ApiModelProperty("业务应用ID")
    private String bizAppId;
    /**
     * 业务场景描述:
     */
    @ApiModelProperty("业务场景描述")
    private String bizSceneDes;
    /**
     * 主体生命周期:
     */
    @ApiModelProperty("主体生命周期")
    private String subjectLifeCycle;
    /**
     * 是否存档:
     */
    @ApiModelProperty("是否存档")
    private String isArchive;

    @Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffBizSceneDto that = (BffBizSceneDto) o;
      return  bizSceneId == that.bizSceneId&&bizSceneCode == that.bizSceneCode&&bizSceneName == that.bizSceneName&&bizAppId == that.bizAppId&&bizSceneDes == that.bizSceneDes&&subjectLifeCycle == that.subjectLifeCycle&&isArchive == that.isArchive;
    }

    @Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), bizSceneId,bizSceneCode,bizSceneName,bizAppId,bizSceneDes,subjectLifeCycle,isArchive);
    }
    // Generated by moon;
}
